//Allen Ott wrote this class
//Implementation file
#include<iostream>
#include "Item.h"
#include <string>

using namespace std;

Item :: Item(){
     
       name = "unknown";
       value = 0;     
     
}

//------------------------------------------------------------------------------
string Item :: getName(){
       return name;           
              
}

//------------------------------------------------------------------------------
void Item :: setName(string n){
     name = n; 
                                 
}

//------------------------------------------------------------------------------
int Item :: getValue(){
    return value;   
    
}
//------------------------------------------------------------------------------
void Item :: setValue(int v){
     value = v;             
             
}
